<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<title>UI Plugin API reference</title>
<link rel="stylesheet" type="text/css" href="../../helpFiles/style.css">
<script type="text/javascript">
//
function getParameterByName(name, url = window.location.href)
{
    name = name.replace(/[\[\]]/g, '\\$&');
    var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
        results = regex.exec(url);
    if(!results) return null;
    if(!results[2]) return '';
    return decodeURIComponent(results[2].replace(/\+/g, ' '));
}
//
                </script><style type="text/css">
td.section { margin: 0; padding: 0; }
                </style>
</head>
<body>
<div align="center"><table class="allEncompassingTable">
<tr><td id="title" class="section"><h1>UI Plugin API reference</h1></td></tr>
<tr><td id="info" class="section"><p class="infoBox">API functions for creating custom user interfaces.</p></td></tr>
<tr><td id="alphabetical" class="section"><pre class="lightGreyBox"><a href="?#addCurve">simUI.addCurve</a>
<a href="?#addCurveTimePoints">simUI.addCurveTimePoints</a>
<a href="?#addCurveXYPoints">simUI.addCurveXYPoints</a>
<a href="?#addScene3DNode">simUI.addScene3DNode</a>
<a href="?#addTreeItem">simUI.addTreeItem</a>
<a href="?#clearCurve">simUI.clearCurve</a>
<a href="?#clearTable">simUI.clearTable</a>
<a href="?#clearTree">simUI.clearTree</a>
<a href="?#collapseAll">simUI.collapseAll</a>
<a href="?#colorDialog">simUI.colorDialog</a>
<a href="?#create">simUI.create</a>
<a href="?#destroy">simUI.destroy</a>
<a href="?#expandAll">simUI.expandAll</a>
<a href="?#expandToDepth">simUI.expandToDepth</a>
<a href="?#fileDialog">simUI.fileDialog</a>
<a href="?#getCheckboxValue">simUI.getCheckboxValue</a>
<a href="?#getColumnCount">simUI.getColumnCount</a>
<a href="?#getComboboxItemCount">simUI.getComboboxItemCount</a>
<a href="?#getComboboxItemText">simUI.getComboboxItemText</a>
<a href="?#getComboboxItems">simUI.getComboboxItems</a>
<a href="?#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a>
<a href="?#getCurrentEditWidget">simUI.getCurrentEditWidget</a>
<a href="?#getCurrentTab">simUI.getCurrentTab</a>
<a href="?#getCurveData">simUI.getCurveData</a>
<a href="?#getEditValue">simUI.getEditValue</a>
<a href="?#getItem">simUI.getItem</a>
<a href="?#getLabelText">simUI.getLabelText</a>
<a href="?#getPosition">simUI.getPosition</a>
<a href="?#getRadiobuttonValue">simUI.getRadiobuttonValue</a>
<a href="?#getRowCount">simUI.getRowCount</a>
<a href="?#getSize">simUI.getSize</a>
<a href="?#getSliderValue">simUI.getSliderValue</a>
<a href="?#getSpinboxValue">simUI.getSpinboxValue</a>
<a href="?#getTitle">simUI.getTitle</a>
<a href="?#getWidgetVisibility">simUI.getWidgetVisibility</a>
<a href="?#growPlotRanges">simUI.growPlotRanges</a>
<a href="?#growPlotXRange">simUI.growPlotXRange</a>
<a href="?#growPlotYRange">simUI.growPlotYRange</a>
<a href="?#hide">simUI.hide</a>
<a href="?#insertComboboxItem">simUI.insertComboboxItem</a>
<a href="?#insertTableColumn">simUI.insertTableColumn</a>
<a href="?#insertTableRow">simUI.insertTableRow</a>
<a href="?#isVisible">simUI.isVisible</a>
<a href="?#msgBox">simUI.msgBox</a>
<a href="?#removeComboboxItem">simUI.removeComboboxItem</a>
<a href="?#removeCurve">simUI.removeCurve</a>
<a href="?#removeScene3DNode">simUI.removeScene3DNode</a>
<a href="?#removeTableColumn">simUI.removeTableColumn</a>
<a href="?#removeTableRow">simUI.removeTableRow</a>
<a href="?#removeTreeItem">simUI.removeTreeItem</a>
<a href="?#replot">simUI.replot</a>
<a href="?#rescaleAxes">simUI.rescaleAxes</a>
<a href="?#rescaleAxesAll">simUI.rescaleAxesAll</a>
<a href="?#restoreState">simUI.restoreState</a>
<a href="?#saveState">simUI.saveState</a>
<a href="?#setButtonPressed">simUI.setButtonPressed</a>
<a href="?#setButtonText">simUI.setButtonText</a>
<a href="?#setCheckboxValue">simUI.setCheckboxValue</a>
<a href="?#setColumnCount">simUI.setColumnCount</a>
<a href="?#setColumnHeaderText">simUI.setColumnHeaderText</a>
<a href="?#setColumnWidth">simUI.setColumnWidth</a>
<a href="?#setComboboxItems">simUI.setComboboxItems</a>
<a href="?#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a>
<a href="?#setCurrentEditWidget">simUI.setCurrentEditWidget</a>
<a href="?#setCurrentTab">simUI.setCurrentTab</a>
<a href="?#setEditValue">simUI.setEditValue</a>
<a href="?#setEnabled">simUI.setEnabled</a>
<a href="?#setImageData">simUI.setImageData</a>
<a href="?#setItem">simUI.setItem</a>
<a href="?#setItemEditable">simUI.setItemEditable</a>
<a href="?#setItemImage">simUI.setItemImage</a>
<a href="?#setLabelText">simUI.setLabelText</a>
<a href="?#setLegendVisibility">simUI.setLegendVisibility</a>
<a href="?#setMouseOptions">simUI.setMouseOptions</a>
<a href="?#setPlotLabels">simUI.setPlotLabels</a>
<a href="?#setPlotRanges">simUI.setPlotRanges</a>
<a href="?#setPlotXLabel">simUI.setPlotXLabel</a>
<a href="?#setPlotXRange">simUI.setPlotXRange</a>
<a href="?#setPlotYLabel">simUI.setPlotYLabel</a>
<a href="?#setPlotYRange">simUI.setPlotYRange</a>
<a href="?#setPosition">simUI.setPosition</a>
<a href="?#setProgress">simUI.setProgress</a>
<a href="?#setRadiobuttonValue">simUI.setRadiobuttonValue</a>
<a href="?#setRowCount">simUI.setRowCount</a>
<a href="?#setRowHeaderText">simUI.setRowHeaderText</a>
<a href="?#setRowHeight">simUI.setRowHeight</a>
<a href="?#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a>
<a href="?#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a>
<a href="?#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a>
<a href="?#setScene3DNodeParam">simUI.setScene3DNodeParam</a>
<a href="?#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a>
<a href="?#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a>
<a href="?#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a>
<a href="?#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a>
<a href="?#setSize">simUI.setSize</a>
<a href="?#setSliderValue">simUI.setSliderValue</a>
<a href="?#setSpinboxValue">simUI.setSpinboxValue</a>
<a href="?#setStyleSheet">simUI.setStyleSheet</a>
<a href="?#setTableSelection">simUI.setTableSelection</a>
<a href="?#setText">simUI.setText</a>
<a href="?#setTitle">simUI.setTitle</a>
<a href="?#setTreeSelection">simUI.setTreeSelection</a>
<a href="?#setUrl">simUI.setUrl</a>
<a href="?#setWidgetVisibility">simUI.setWidgetVisibility</a>
<a href="?#setWindowEnabled">simUI.setWindowEnabled</a>
<a href="?#show">simUI.show</a>
<a href="?#supportedImageFormats">simUI.supportedImageFormats</a>
<a href="?#svgLoadData">simUI.svgLoadData</a>
<a href="?#svgLoadFile">simUI.svgLoadFile</a>
<a href="?#updateTreeItemParent">simUI.updateTreeItemParent</a>
<a href="?#updateTreeItemText">simUI.updateTreeItemText</a>
</pre></td></tr>
<tr><td id="commands" class="section">
<h3 class="subsectionBar">
<a name="addCurve" id="addCurve"></a>simUI.addCurve</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Adds a curve to a plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.addCurve(string handle, int id, int type, string name, table[] color, int style, curve_options options)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>type</strong> (int): type of the curve. see <a href="#enum:curve_type">simUI.curve_type</a>.</div>
<div>
<strong>name</strong> (string): name of the curve</div>
<div>
<strong>color</strong> (table of int): color of the curve, as RGB values in the 0...255 range</div>
<div>
<strong>style</strong> (int): style of the curve. see <a href="#enum:curve_style">simUI.curve_style</a>.</div>
<div>
<strong>options</strong> (curve_options): data structure holding extra options. see <a href="#struct:curve_options">curve_options</a>.</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#enum:curve_type">simUI.curve_type</a> <a href="#enum:curve_style">simUI.curve_style</a> <a href="#struct:curve_options">curve_options</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="addCurveTimePoints" id="addCurveTimePoints"></a>simUI.addCurveTimePoints</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Adds time points to the specified curve of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.addCurveTimePoints(string handle, int id, string name, table[] x, table[] y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
<div>
<strong>x</strong> (table of double): x values</div>
<div>
<strong>y</strong> (table of double): y values</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="addCurveXYPoints" id="addCurveXYPoints"></a>simUI.addCurveXYPoints</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Adds points to the specified curve of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.addCurveXYPoints(string handle, int id, string name, table[] t, table[] x, table[] y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
<div>
<strong>t</strong> (table of double): t values (i.e. the curve parameter, used also to determine how points are connected, according to natural ordering of t)</div>
<div>
<strong>x</strong> (table of double): x values</div>
<div>
<strong>y</strong> (table of double): y values</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="addScene3DNode" id="addScene3DNode"></a>simUI.addScene3DNode</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Add a node in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.addScene3DNode(string handle, int id, int nodeId, int parentNodeId, int type)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>parentNodeId</strong> (int): parent node id</div>
<div>
<strong>type</strong> (int): type of the node. see <a href="#enum:scene3d_node_type">simUI.scene3d_node_type</a>
</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="addTreeItem" id="addTreeItem"></a>simUI.addTreeItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Add an item to the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.addTreeItem(string handle, int id, int item_id, table[] text, int parent_id=0, bool expanded=false, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>item_id</strong> (int): item id</div>
<div>
<strong>text</strong> (table of string): item text fields</div>
<div>
<strong>parent_id</strong> (int, default: 0): parent item id (0 means a toplevel item)</div>
<div>
<strong>expanded</strong> (bool, default: false): if true, the item will be in expanded state</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="clearCurve" id="clearCurve"></a>simUI.clearCurve</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Clear points of the specified curve of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.clearCurve(string handle, int id, string name)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="clearTable" id="clearTable"></a>simUI.clearTable</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Clear the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.clearTable(string handle, int id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="clearTree" id="clearTree"></a>simUI.clearTree</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Clear the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.clearTree(string handle, int id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="collapseAll" id="collapseAll"></a>simUI.collapseAll</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Collapse all nodes in the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.collapseAll(string handle, int id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="colorDialog" id="colorDialog"></a>simUI.colorDialog</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Display a color dialog.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">table[3] result=simUI.colorDialog(table[3..4] initColor={1,1,1}, string title="Select color", bool showAlphaChannel=false, bool native=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>initColor</strong> (table of float, size 3..4, default: {1,1,1}): initial color</div>
<div>
<strong>title</strong> (string, default: "Select color"): the title of the dialog</div>
<div>
<strong>showAlphaChannel</strong> (bool, default: false): allow the user to select the alpha component of a color</div>
<div>
<strong>native</strong> (bool, default: true): use OS-native file dialogs</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>result</strong> (table of float, size 3): result</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="create" id="create"></a>simUI.create</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Create a window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string uiHandle=simUI.create(string xml)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>xml</strong> (string): xml ui definition (refer to <a href="simUI-widgets.htm">UI plugin XML syntax</a>)</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>uiHandle</strong> (string): a handle to the created UI</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="destroy" id="destroy"></a>simUI.destroy</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Destroy a window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.destroy(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="expandAll" id="expandAll"></a>simUI.expandAll</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Expand all nodes in the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.expandAll(string handle, int id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="expandToDepth" id="expandToDepth"></a>simUI.expandToDepth</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Expand nodes up to a certain depth in the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.expandToDepth(string handle, int id, int depth, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>depth</strong> (int): depth</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="fileDialog" id="fileDialog"></a>simUI.fileDialog</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Display a file dialog.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">table[] result=simUI.fileDialog(int type, string title, string startPath, string initName, string extName, string ext, bool native=false)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>type</strong> (int): type</div>
<div>
<strong>title</strong> (string): title</div>
<div>
<strong>startPath</strong> (string): start path</div>
<div>
<strong>initName</strong> (string): initial file name</div>
<div>
<strong>extName</strong> (string): the name of the extension</div>
<div>
<strong>ext</strong> (string): the actual extension</div>
<div>
<strong>native</strong> (bool, default: false): use OS-native file dialogs</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>result</strong> (table of string): result</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getCheckboxValue" id="getCheckboxValue"></a>simUI.getCheckboxValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the value of a checkbox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int value=simUI.getCheckboxValue(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>value</strong> (int): value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setCheckboxValue">simUI.setCheckboxValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getColumnCount" id="getColumnCount"></a>simUI.getColumnCount</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the number of columns in the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int count=simUI.getColumnCount(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>count</strong> (int): column count</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getComboboxItemCount" id="getComboboxItemCount"></a>simUI.getComboboxItemCount</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the number of items in the specified combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int count=simUI.getComboboxItemCount(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>count</strong> (int): Item count.</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getComboboxItemText" id="getComboboxItemText"></a>simUI.getComboboxItemText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the text of an item in a combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string text=simUI.getComboboxItemText(string handle, int id, int index)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>index</strong> (int): Item index.</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>text</strong> (string): Item text.</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getComboboxItems" id="getComboboxItems"></a>simUI.getComboboxItems</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the content of a combobox.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">table[] items=simUI.getComboboxItems(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>items</strong> (table of string): Array of items (strings).</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getComboboxSelectedIndex" id="getComboboxSelectedIndex"></a>simUI.getComboboxSelectedIndex</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the selected item index in a combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int index=simUI.getComboboxSelectedIndex(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>index</strong> (int): Index of selected item after inserting all the items.</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getCurrentEditWidget" id="getCurrentEditWidget"></a>simUI.getCurrentEditWidget</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the edit widget with focus and selected text.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int id=simUI.getCurrentEditWidget(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>id</strong> (int): widget id of an edit widget, or -1 if no edit widget was focused and had selected text.</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getEditValue">simUI.getEditValue</a> <a href="#setCurrentEditWidget">simUI.setCurrentEditWidget</a> <a href="#setEditValue">simUI.setEditValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getCurrentTab" id="getCurrentTab"></a>simUI.getCurrentTab</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the current tab index of a tabs widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int index=simUI.getCurrentTab(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>index</strong> (int): index of the tab (zero-based)</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setCurrentTab">simUI.setCurrentTab</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getCurveData" id="getCurveData"></a>simUI.getCurveData</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the data contained in the specified curve.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">table[] t, table[] x, table[] y=simUI.getCurveData(string handle, int id, string name)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">
<div>
<strong>t</strong> (table of double): t values (if applicable)</div>
<div>
<strong>x</strong> (table of double): x values</div>
<div>
<strong>y</strong> (table of double): y values</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getEditValue" id="getEditValue"></a>simUI.getEditValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the value of a edit widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string value=simUI.getEditValue(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>value</strong> (string): value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getCurrentEditWidget">simUI.getCurrentEditWidget</a> <a href="#setCurrentEditWidget">simUI.setCurrentEditWidget</a> <a href="#setEditValue">simUI.setEditValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getItem" id="getItem"></a>simUI.getItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the table widget item text.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string text=simUI.getItem(string handle, int id, int row, int column)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>column</strong> (int): column index</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>text</strong> (string): item value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getLabelText" id="getLabelText"></a>simUI.getLabelText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the text of a label widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string text=simUI.getLabelText(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>text</strong> (string): text</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setLabelText">simUI.setLabelText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getPosition" id="getPosition"></a>simUI.getPosition</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the position of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int x, int y=simUI.getPosition(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">
<div>
<strong>x</strong> (int): X position</div>
<div>
<strong>y</strong> (int): Y position</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getRadiobuttonValue" id="getRadiobuttonValue"></a>simUI.getRadiobuttonValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the value of a radiobutton widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int value=simUI.getRadiobuttonValue(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>value</strong> (int): value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setRadiobuttonValue">simUI.setRadiobuttonValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getRowCount" id="getRowCount"></a>simUI.getRowCount</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the table widget number of rows.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int count=simUI.getRowCount(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>count</strong> (int): row count</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getSize" id="getSize"></a>simUI.getSize</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the size of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int w, int h=simUI.getSize(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">
<div>
<strong>w</strong> (int): width</div>
<div>
<strong>h</strong> (int): height</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getSliderValue" id="getSliderValue"></a>simUI.getSliderValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the value of a slider widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int value=simUI.getSliderValue(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>value</strong> (int): value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setSliderValue">simUI.setSliderValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getSpinboxValue" id="getSpinboxValue"></a>simUI.getSpinboxValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the value of a spinbox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">float value=simUI.getSpinboxValue(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>value</strong> (float): value</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setSpinboxValue">simUI.setSpinboxValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getTitle" id="getTitle"></a>simUI.getTitle</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the title of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string title=simUI.getTitle(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>title</strong> (string): X position</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="getWidgetVisibility" id="getWidgetVisibility"></a>simUI.getWidgetVisibility</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Get the visibility status of a widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">bool visibility=simUI.getWidgetVisibility(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>visibility</strong> (bool): true if the window is visible, false otherwise</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="growPlotRanges" id="growPlotRanges"></a>simUI.growPlotRanges</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Increase the ranges of the plot widget by a fixed amount.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.growPlotRanges(string handle, int id, double xmin, double xmax, double ymin, double ymax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>xmin</strong> (double): minimum x range</div>
<div>
<strong>xmax</strong> (double): maximum x range</div>
<div>
<strong>ymin</strong> (double): minimum y range</div>
<div>
<strong>ymax</strong> (double): maximum y range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="growPlotXRange" id="growPlotXRange"></a>simUI.growPlotXRange</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Increase the X range of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.growPlotXRange(string handle, int id, double xmin, double xmax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>xmin</strong> (double): minimum x range</div>
<div>
<strong>xmax</strong> (double): maximum x range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="growPlotYRange" id="growPlotYRange"></a>simUI.growPlotYRange</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Increase the Y range of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.growPlotYRange(string handle, int id, double ymin, double ymax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>ymin</strong> (double): minimum y range</div>
<div>
<strong>ymax</strong> (double): maximum y range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="hide" id="hide"></a>simUI.hide</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Hide the UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.hide(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="insertComboboxItem" id="insertComboboxItem"></a>simUI.insertComboboxItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Insert an item in a combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.insertComboboxItem(string handle, int id, int index, string text, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>index</strong> (int): If the index is equal to or higher than the total number of items, the new item is appended to the list of existing items. If the index is zero or negative, the new item is prepended to the list of existing items.</div>
<div>
<strong>text</strong> (string): Item text.</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="insertTableColumn" id="insertTableColumn"></a>simUI.insertTableColumn</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">insert a column in a table widget</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.insertTableColumn(int ui, int widget, int index)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>ui</strong> (int): the ui handle</div>
<div>
<strong>widget</strong> (int): the widget identifier</div>
<div>
<strong>index</strong> (int): the index (0-based) where the new column will appear</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="insertTableRow" id="insertTableRow"></a>simUI.insertTableRow</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">insert a row in a table widget</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.insertTableRow(int ui, int widget, int index)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>ui</strong> (int): the ui handle</div>
<div>
<strong>widget</strong> (int): the widget identifier</div>
<div>
<strong>index</strong> (int): the index (0-based) where the new row will appear</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="isVisible" id="isVisible"></a>simUI.isVisible</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Check if the window is visible.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">bool visibility=simUI.isVisible(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>visibility</strong> (bool): true if the window is visible, false otherwise</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="msgBox" id="msgBox"></a>simUI.msgBox</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Display a message box.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">int result=simUI.msgBox(int type, int buttons, string title, string message)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>type</strong> (int): type</div>
<div>
<strong>buttons</strong> (int): buttons</div>
<div>
<strong>title</strong> (string): title</div>
<div>
<strong>message</strong> (string): message</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>result</strong> (int): result</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeComboboxItem" id="removeComboboxItem"></a>simUI.removeComboboxItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Remove an item from a combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeComboboxItem(string handle, int id, int index, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>index</strong> (int): Item index.</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeCurve" id="removeCurve"></a>simUI.removeCurve</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Remove the specified curve from the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeCurve(string handle, int id, string name)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeScene3DNode" id="removeScene3DNode"></a>simUI.removeScene3DNode</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Remove a node in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeScene3DNode(string handle, int id, int nodeId)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeTableColumn" id="removeTableColumn"></a>simUI.removeTableColumn</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">remove a column from a table widget</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeTableColumn(int ui, int widget, int index)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>ui</strong> (int): the ui handle</div>
<div>
<strong>widget</strong> (int): the widget identifier</div>
<div>
<strong>index</strong> (int): the column index (0-based) to remove</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeTableRow" id="removeTableRow"></a>simUI.removeTableRow</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">remove a row from a table widget</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeTableRow(int ui, int widget, int index)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>ui</strong> (int): the ui handle</div>
<div>
<strong>widget</strong> (int): the widget identifier</div>
<div>
<strong>index</strong> (int): the row index (0-based) to remove</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="removeTreeItem" id="removeTreeItem"></a>simUI.removeTreeItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Remove an item from the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.removeTreeItem(string handle, int id, int item_id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>item_id</strong> (int): item id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="replot" id="replot"></a>simUI.replot</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Refresh all the plots of a plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.replot(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="rescaleAxes" id="rescaleAxes"></a>simUI.rescaleAxes</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Rescales the axes such that the specified curve in the plot is fully visible.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.rescaleAxes(string handle, int id, string name, bool onlyEnlargeX=false, bool onlyEnlargeY=false)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>name</strong> (string): name of the curve</div>
<div>
<strong>onlyEnlargeX</strong> (bool, default: false): makes sure the x ranges are only expanded, never reduced</div>
<div>
<strong>onlyEnlargeY</strong> (bool, default: false): makes sure the x ranges are only expanded, never reduced</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="rescaleAxesAll" id="rescaleAxesAll"></a>simUI.rescaleAxesAll</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Rescales the axes such that all curves in the plot are fully visible.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.rescaleAxesAll(string handle, int id, bool onlyEnlargeX=false, bool onlyEnlargeY=false)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>onlyEnlargeX</strong> (bool, default: false): makes sure the x ranges are only expanded, never reduced</div>
<div>
<strong>onlyEnlargeY</strong> (bool, default: false): makes sure the x ranges are only expanded, never reduced</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="restoreState" id="restoreState"></a>simUI.restoreState</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Restore a previously saved header state of the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.restoreState(string handle, int id, string state)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>state</strong> (string): a previously saved string representing the state</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="saveState" id="saveState"></a>simUI.saveState</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Save header state of the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">string state=simUI.saveState(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet"><div>
<strong>state</strong> (string): a string representing the state</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setButtonPressed" id="setButtonPressed"></a>simUI.setButtonPressed</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the state of a button.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setButtonPressed(string handle, int id, bool pressed)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>pressed</strong> (bool): button state</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setButtonText">simUI.setButtonText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setButtonText" id="setButtonText"></a>simUI.setButtonText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the text of a button.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setButtonText(string handle, int id, string text)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>text</strong> (string): button text</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setButtonPressed">simUI.setButtonPressed</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setCheckboxValue" id="setCheckboxValue"></a>simUI.setCheckboxValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the value of a checkbox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setCheckboxValue(string handle, int id, int value, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (int): value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getCheckboxValue">simUI.getCheckboxValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setColumnCount" id="setColumnCount"></a>simUI.setColumnCount</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Resize the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setColumnCount(string handle, int id, int count, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>count</strong> (int): column count</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setColumnHeaderText" id="setColumnHeaderText"></a>simUI.setColumnHeaderText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the column header text of the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setColumnHeaderText(string handle, int id, int column, string text)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>text</strong> (string): column header text</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setColumnWidth" id="setColumnWidth"></a>simUI.setColumnWidth</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Resize a column in the specified table/tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setColumnWidth(string handle, int id, int column, int min_size, int max_size)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>min_size</strong> (int): minimum size</div>
<div>
<strong>max_size</strong> (int): maximum size</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setComboboxItems" id="setComboboxItems"></a>simUI.setComboboxItems</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Populate a combobox widget with the specified items, and set the selected item to the specified index.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setComboboxItems(string handle, int id, table[] items, int index, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>items</strong> (table of string): Array of items (strings).</div>
<div>
<strong>index</strong> (int): Index of selected item after inserting all the items.</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxSelectedIndex">simUI.setComboboxSelectedIndex</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setComboboxSelectedIndex" id="setComboboxSelectedIndex"></a>simUI.setComboboxSelectedIndex</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Change the selected item index in a combobox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setComboboxSelectedIndex(string handle, int id, int index, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>index</strong> (int): Index of selected item after inserting all the items.</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getComboboxItemCount">simUI.getComboboxItemCount</a> <a href="#getComboboxItemText">simUI.getComboboxItemText</a> <a href="#getComboboxItems">simUI.getComboboxItems</a> <a href="#getComboboxSelectedIndex">simUI.getComboboxSelectedIndex</a> <a href="#insertComboboxItem">simUI.insertComboboxItem</a> <a href="#removeComboboxItem">simUI.removeComboboxItem</a> <a href="#setComboboxItems">simUI.setComboboxItems</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setCurrentEditWidget" id="setCurrentEditWidget"></a>simUI.setCurrentEditWidget</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the edit widget focus and selected text.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setCurrentEditWidget(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id. this value can be -1, in which case the function will do nothing.</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getCurrentEditWidget">simUI.getCurrentEditWidget</a> <a href="#getEditValue">simUI.getEditValue</a> <a href="#setEditValue">simUI.setEditValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setCurrentTab" id="setCurrentTab"></a>simUI.setCurrentTab</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the current tab index in a tabs widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setCurrentTab(string handle, int id, int index, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>index</strong> (int): index of the tab (zero-based)</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getCurrentTab">simUI.getCurrentTab</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setEditValue" id="setEditValue"></a>simUI.setEditValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the value of a edit widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setEditValue(string handle, int id, string value, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (string): value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getCurrentEditWidget">simUI.getCurrentEditWidget</a> <a href="#getEditValue">simUI.getEditValue</a> <a href="#setCurrentEditWidget">simUI.setCurrentEditWidget</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setEnabled" id="setEnabled"></a>simUI.setEnabled</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Enable or disable a widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setEnabled(string handle, int id, bool enabled, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>enabled</strong> (bool): enabled</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setImageData" id="setImageData"></a>simUI.setImageData</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set image content using specified bitmap (RGB888) data.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setImageData(string handle, int id, string data, int width, int height)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): id of a image widget</div>
<div>
<strong>data</strong> (string): image byte data</div>
<div>
<strong>width</strong> (int): width of the image</div>
<div>
<strong>height</strong> (int): height of the image</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setItem" id="setItem"></a>simUI.setItem</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Change item value in the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setItem(string handle, int id, int row, int column, string text, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>text</strong> (string): item value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setItemEditable" id="setItemEditable"></a>simUI.setItemEditable</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Change item editable flag in the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setItemEditable(string handle, int id, int row, int column, bool editable)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>editable</strong> (bool): editable flag</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setItemImage" id="setItemImage"></a>simUI.setItemImage</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Change item image in the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setItemImage(string handle, int id, int row, int column, string data, int width, int height, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>data</strong> (string): image data</div>
<div>
<strong>width</strong> (int): image width</div>
<div>
<strong>height</strong> (int): image height</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setLabelText" id="setLabelText"></a>simUI.setLabelText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the text of a label widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setLabelText(string handle, int id, string text, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>text</strong> (string): text</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getLabelText">simUI.getLabelText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setLegendVisibility" id="setLegendVisibility"></a>simUI.setLegendVisibility</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set visibility of the plot legend (default is hidden).</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setLegendVisibility(string handle, int id, bool visible)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>visible</strong> (bool): if true, the plot legend will be visible</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setMouseOptions" id="setMouseOptions"></a>simUI.setMouseOptions</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set plot widget options for interacting with mouse.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setMouseOptions(string handle, int id, bool panX, bool panY, bool zoomX, bool zoomY)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>panX</strong> (bool): if true, panning (by dragging with the mouse) the X axis is allowed</div>
<div>
<strong>panY</strong> (bool): if true, panning (by dragging with the mouse) the Y axis is allowed</div>
<div>
<strong>zoomX</strong> (bool): if true, zooming (by mouse wheel) the X axis is allowed</div>
<div>
<strong>zoomY</strong> (bool): if true, zooming (by mouse wheel) the Y axis is allowed</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotLabels" id="setPlotLabels"></a>simUI.setPlotLabels</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the labels of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotLabels(string handle, int id, string x, string y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>x</strong> (string): x label</div>
<div>
<strong>y</strong> (string): y label</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotRanges" id="setPlotRanges"></a>simUI.setPlotRanges</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the ranges of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotRanges(string handle, int id, double xmin, double xmax, double ymin, double ymax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>xmin</strong> (double): minimum x range</div>
<div>
<strong>xmax</strong> (double): maximum x range</div>
<div>
<strong>ymin</strong> (double): minimum y range</div>
<div>
<strong>ymax</strong> (double): maximum y range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotXLabel" id="setPlotXLabel"></a>simUI.setPlotXLabel</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the X label of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotXLabel(string handle, int id, string label)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>label</strong> (string): x label</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotXRange" id="setPlotXRange"></a>simUI.setPlotXRange</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the X range of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotXRange(string handle, int id, double xmin, double xmax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>xmin</strong> (double): minimum x range</div>
<div>
<strong>xmax</strong> (double): maximum x range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotYLabel" id="setPlotYLabel"></a>simUI.setPlotYLabel</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the Y label of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotYLabel(string handle, int id, string label)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>label</strong> (string): y label</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPlotYRange" id="setPlotYRange"></a>simUI.setPlotYRange</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the Y range of the plot widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPlotYRange(string handle, int id, double ymin, double ymax)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>ymin</strong> (double): minimum y range</div>
<div>
<strong>ymax</strong> (double): maximum y range</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setPosition" id="setPosition"></a>simUI.setPosition</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the position of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setPosition(string handle, int x, int y, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>x</strong> (int): X position</div>
<div>
<strong>y</strong> (int): Y position</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setProgress" id="setProgress"></a>simUI.setProgress</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Chnge the value of a progressbar widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setProgress(string handle, int id, int value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (int): value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setRadiobuttonValue" id="setRadiobuttonValue"></a>simUI.setRadiobuttonValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the value of a radiobutton widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setRadiobuttonValue(string handle, int id, int value, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (int): value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getRadiobuttonValue">simUI.getRadiobuttonValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setRowCount" id="setRowCount"></a>simUI.setRowCount</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Resize the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setRowCount(string handle, int id, int count, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>count</strong> (int): row count</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setRowHeaderText" id="setRowHeaderText"></a>simUI.setRowHeaderText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the row header text of the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setRowHeaderText(string handle, int id, int row, string text)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>text</strong> (string): row header text</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setRowHeight" id="setRowHeight"></a>simUI.setRowHeight</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Resize a row in the specified table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setRowHeight(string handle, int id, int row, int min_size, int max_size)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>min_size</strong> (int): minimum size</div>
<div>
<strong>max_size</strong> (int): maximum size</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setTableSelection">simUI.setTableSelection</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeEnabled" id="setScene3DNodeEnabled"></a>simUI.setScene3DNodeEnabled</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Enable or disable a node in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeEnabled(string handle, int id, int nodeId, bool enabled)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>enabled</strong> (bool): enabled flag</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeFloatParam" id="setScene3DNodeFloatParam"></a>simUI.setScene3DNodeFloatParam</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node float parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeFloatParam(string handle, int id, int nodeId, string paramName, float value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>value</strong> (float): value of parameter</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeIntParam" id="setScene3DNodeIntParam"></a>simUI.setScene3DNodeIntParam</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node int parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeIntParam(string handle, int id, int nodeId, string paramName, int value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>value</strong> (int): value of parameter</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeParam" id="setScene3DNodeParam"></a>simUI.setScene3DNodeParam</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">polymorphic version of the onSetScene3DNodeXXXParam() functions</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeParam(int ui, int widget, int nodeId, string paramName, anything paramValue)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>ui</strong> (int): the ui handle</div>
<div>
<strong>widget</strong> (int): the widget identifier</div>
<div>
<strong>nodeId</strong> (int): the node id</div>
<div>
<strong>paramName</strong> (string): the parameter name</div>
<div>
<strong>paramValue</strong> (anything): the parameter value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeStringParam" id="setScene3DNodeStringParam"></a>simUI.setScene3DNodeStringParam</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node string parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeStringParam(string handle, int id, int nodeId, string paramName, string value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>value</strong> (string): value of parameter</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeVector2Param" id="setScene3DNodeVector2Param"></a>simUI.setScene3DNodeVector2Param</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node vector2 parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeVector2Param(string handle, int id, int nodeId, string paramName, float x, float y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>x</strong> (float): value of first component</div>
<div>
<strong>y</strong> (float): value of second component</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeVector3Param" id="setScene3DNodeVector3Param"></a>simUI.setScene3DNodeVector3Param</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node vector3 parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeVector3Param(string handle, int id, int nodeId, string paramName, float x, float y, float z)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>x</strong> (float): value of first component</div>
<div>
<strong>y</strong> (float): value of second component</div>
<div>
<strong>z</strong> (float): value of third component</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector4Param">simUI.setScene3DNodeVector4Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setScene3DNodeVector4Param" id="setScene3DNodeVector4Param"></a>simUI.setScene3DNodeVector4Param</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set node vector4 parameter in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setScene3DNodeVector4Param(string handle, int id, int nodeId, string paramName, float x, float y, float z, float w)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>nodeId</strong> (int): node id</div>
<div>
<strong>paramName</strong> (string): name of parameter</div>
<div>
<strong>x</strong> (float): value of first component</div>
<div>
<strong>y</strong> (float): value of second component</div>
<div>
<strong>z</strong> (float): value of third component</div>
<div>
<strong>w</strong> (float): value of fourth component</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addScene3DNode">simUI.addScene3DNode</a> <a href="#removeScene3DNode">simUI.removeScene3DNode</a> <a href="#setScene3DNodeEnabled">simUI.setScene3DNodeEnabled</a> <a href="#setScene3DNodeFloatParam">simUI.setScene3DNodeFloatParam</a> <a href="#setScene3DNodeIntParam">simUI.setScene3DNodeIntParam</a> <a href="#setScene3DNodeStringParam">simUI.setScene3DNodeStringParam</a> <a href="#setScene3DNodeVector2Param">simUI.setScene3DNodeVector2Param</a> <a href="#setScene3DNodeVector3Param">simUI.setScene3DNodeVector3Param</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setSize" id="setSize"></a>simUI.setSize</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the size of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setSize(string handle, int w, int h, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>w</strong> (int): width</div>
<div>
<strong>h</strong> (int): height</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setSliderValue" id="setSliderValue"></a>simUI.setSliderValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the value of a slider widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setSliderValue(string handle, int id, int value, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (int): value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getSliderValue">simUI.getSliderValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setSpinboxValue" id="setSpinboxValue"></a>simUI.setSpinboxValue</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the value of a spinbox widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setSpinboxValue(string handle, int id, float value, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>value</strong> (float): value</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getSpinboxValue">simUI.getSpinboxValue</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setStyleSheet" id="setStyleSheet"></a>simUI.setStyleSheet</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the stylesheet of a widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setStyleSheet(string handle, int id, string styleSheet)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>styleSheet</strong> (string): stylesheet data</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setTableSelection" id="setTableSelection"></a>simUI.setTableSelection</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set selection in a table widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setTableSelection(string handle, int id, int row, int column, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>row</strong> (int): row index</div>
<div>
<strong>column</strong> (int): column index</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#clearTable">simUI.clearTable</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#getItem">simUI.getItem</a> <a href="#getRowCount">simUI.getRowCount</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setItem">simUI.setItem</a> <a href="#setItemEditable">simUI.setItemEditable</a> <a href="#setItemImage">simUI.setItemImage</a> <a href="#setRowCount">simUI.setRowCount</a> <a href="#setRowHeaderText">simUI.setRowHeaderText</a> <a href="#setRowHeight">simUI.setRowHeight</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setText" id="setText"></a>simUI.setText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the text in a text-browser widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setText(string handle, int id, string text, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>text</strong> (string): text content</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setUrl">simUI.setUrl</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setTitle" id="setTitle"></a>simUI.setTitle</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set the title of a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setTitle(string handle, string title, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>title</strong> (string): X position</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setTreeSelection" id="setTreeSelection"></a>simUI.setTreeSelection</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Set selection in a tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setTreeSelection(string handle, int id, int item_id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>item_id</strong> (int): item id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setUrl" id="setUrl"></a>simUI.setUrl</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Load an url in a text-browser widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setUrl(string handle, int id, string url)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>url</strong> (string): url resource</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#setText">simUI.setText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setWidgetVisibility" id="setWidgetVisibility"></a>simUI.setWidgetVisibility</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Hide or show a widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setWidgetVisibility(string handle, int id, bool visibility)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>visibility</strong> (bool): true if the window is visible, false otherwise</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="setWindowEnabled" id="setWindowEnabled"></a>simUI.setWindowEnabled</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Enable or disable a UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.setWindowEnabled(string handle, bool enabled, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>enabled</strong> (bool): enabled</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#show">simUI.show</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="show" id="show"></a>simUI.show</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Show the UI window.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.show(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): ui handle</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#create">simUI.create</a> <a href="#destroy">simUI.destroy</a> <a href="#getPosition">simUI.getPosition</a> <a href="#getSize">simUI.getSize</a> <a href="#getTitle">simUI.getTitle</a> <a href="#hide">simUI.hide</a> <a href="#isVisible">simUI.isVisible</a> <a href="#setPosition">simUI.setPosition</a> <a href="#setSize">simUI.setSize</a> <a href="#setTitle">simUI.setTitle</a> <a href="#setWindowEnabled">simUI.setWindowEnabled</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="supportedImageFormats" id="supportedImageFormats"></a>simUI.supportedImageFormats</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Return a list of supported image formats</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">table[] formatList, string formatListStr=simUI.supportedImageFormats(string separator=nil)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>separator</strong> (string, default: nil): if provided, also a string of formats concatenated by separator will be returned</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">
<div>
<strong>formatList</strong> (table of string): list of formats, each item will be the file extension of the format</div>
<div>
<strong>formatListStr</strong> (string): concatenated list of formats, if separator is provided</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="svgLoadData" id="svgLoadData"></a>simUI.svgLoadData</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Load a SVG document in a SVG widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.svgLoadData(string handle, int id, string data)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>data</strong> (string): SVG data (XML) as a string</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#svgLoadFile">simUI.svgLoadFile</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="svgLoadFile" id="svgLoadFile"></a>simUI.svgLoadFile</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Load a SVG file in a SVG widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.svgLoadFile(string handle, int id, string file)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>file</strong> (string): file path</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#svgLoadData">simUI.svgLoadData</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="updateTreeItemParent" id="updateTreeItemParent"></a>simUI.updateTreeItemParent</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Modify the parent of an existing item in the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.updateTreeItemParent(string handle, int id, int item_id, int parent_id, bool suppressEvents=true)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>item_id</strong> (int): item id</div>
<div>
<strong>parent_id</strong> (int): parent id</div>
<div>
<strong>suppressEvents</strong> (bool, default: true): if true, no event will be generated from this call</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemText">simUI.updateTreeItemText</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="updateTreeItemText" id="updateTreeItemText"></a>simUI.updateTreeItemText</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Modify the text of an existing item in the specified tree widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.updateTreeItemText(string handle, int id, int item_id, table[] text)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): widget id</div>
<div>
<strong>item_id</strong> (int): item id</div>
<div>
<strong>text</strong> (table of string): item text fields</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#addTreeItem">simUI.addTreeItem</a> <a href="#clearTree">simUI.clearTree</a> <a href="#collapseAll">simUI.collapseAll</a> <a href="#expandAll">simUI.expandAll</a> <a href="#expandToDepth">simUI.expandToDepth</a> <a href="#getColumnCount">simUI.getColumnCount</a> <a href="#removeTreeItem">simUI.removeTreeItem</a> <a href="#restoreState">simUI.restoreState</a> <a href="#saveState">simUI.saveState</a> <a href="#setColumnCount">simUI.setColumnCount</a> <a href="#setColumnHeaderText">simUI.setColumnHeaderText</a> <a href="#setColumnWidth">simUI.setColumnWidth</a> <a href="#setTreeSelection">simUI.setTreeSelection</a> <a href="#updateTreeItemParent">simUI.updateTreeItemParent</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br>
</td></tr>
<tr><td id="enums" class="section">
<br><br><h1>Constants</h1>
<p>Constants used in the various functions. Refer to each constant using <i>enumName.constantName</i>, i.e. <b>simUI.curve_type.xy</b> for <b>xy</b> constant in <b>simUI.curve_type</b> enum.</p>
<h3 class="subsectionBar">
<a name="enum:msgbox_type" id="enum:msgbox_type"></a>simUI.msgbox_type</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>info</strong></div>
<div><strong>question</strong></div>
<div><strong>warning</strong></div>
<div><strong>critical</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:msgbox_buttons" id="enum:msgbox_buttons"></a>simUI.msgbox_buttons</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>ok</strong></div>
<div><strong>yesno</strong></div>
<div><strong>yesnocancel</strong></div>
<div><strong>okcancel</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:msgbox_result" id="enum:msgbox_result"></a>simUI.msgbox_result</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>cancel</strong></div>
<div><strong>no</strong></div>
<div><strong>yes</strong></div>
<div><strong>ok</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:filedialog_type" id="enum:filedialog_type"></a>simUI.filedialog_type</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>load</strong></div>
<div><strong>load_multiple</strong></div>
<div><strong>save</strong></div>
<div><strong>folder</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:curve_type" id="enum:curve_type"></a>simUI.curve_type</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div>
<strong>time</strong>: a curve with an X-simple domain, i.e. <em>y = f(x)</em>
</div>
<div>
<strong>xy</strong>: a parametric curve, i.e. <em>x = f<sub>x</sub>(t), y = f<sub>y</sub>(t)</em>
</div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:curve_style" id="enum:curve_style"></a>simUI.curve_style</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>scatter</strong></div>
<div><strong>line</strong></div>
<div><strong>line_and_scatter</strong></div>
<div>
<strong>step_left</strong>: only available for 'time' curves</div>
<div>
<strong>step_center</strong>: only available for 'time' curves</div>
<div>
<strong>step_right</strong>: only available for 'time' curves</div>
<div>
<strong>impulse</strong>: only available for 'time' curves</div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:curve_scatter_shape" id="enum:curve_scatter_shape"></a>simUI.curve_scatter_shape</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>none</strong></div>
<div><strong>dot</strong></div>
<div><strong>cross</strong></div>
<div><strong>plus</strong></div>
<div><strong>circle</strong></div>
<div><strong>disc</strong></div>
<div><strong>square</strong></div>
<div><strong>diamond</strong></div>
<div><strong>star</strong></div>
<div><strong>triangle</strong></div>
<div><strong>triangle_inverted</strong></div>
<div><strong>cross_square</strong></div>
<div><strong>plus_square</strong></div>
<div><strong>cross_circle</strong></div>
<div><strong>plus_circle</strong></div>
<div><strong>peace</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:line_style" id="enum:line_style"></a>simUI.line_style</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>solid</strong></div>
<div><strong>dotted</strong></div>
<div><strong>dashed</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:scene3d_node_type" id="enum:scene3d_node_type"></a>simUI.scene3d_node_type</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div><strong>entity</strong></div>
<div><strong>transform</strong></div>
<div><strong>camera</strong></div>
<div><strong>camera_controller_first_person</strong></div>
<div><strong>camera_controller_orbit</strong></div>
<div><strong>light_point</strong></div>
<div><strong>light_directional</strong></div>
<div><strong>light_spot</strong></div>
<div><strong>mesh_cuboid</strong></div>
<div><strong>mesh_torus</strong></div>
<div><strong>mesh_cone</strong></div>
<div><strong>mesh_cylinder</strong></div>
<div><strong>mesh_plane</strong></div>
<div><strong>mesh_sphere</strong></div>
<div><strong>mesh</strong></div>
<div><strong>material_phong</strong></div>
<div><strong>material_gooch</strong></div>
<div><strong>material_texture</strong></div>
<div><strong>material_diffuse_map</strong></div>
<div><strong>texture2d</strong></div>
<div><strong>texture_image</strong></div>
<div><strong>object_picker</strong></div>
</td></tr></tbody></table>
<h3 class="subsectionBar">
<a name="enum:mouse" id="enum:mouse"></a>simUI.mouse</h3>
<table class="apiConstantsTable"><tbody><tr><td>
<div>
<strong>left_button_down</strong>: left mouse button pressed</div>
<div>
<strong>left_button_up</strong>: left mouse button released</div>
<div>
<strong>move</strong>: mouse pointer has been moved</div>
</td></tr></tbody></table>
</td></tr>
<tr><td id="structs" class="section">
<br><br><h1>Data structures</h1>
<p>Data structures are used to pass complex data around. Create data structures in Lua in the form of a map, e.g.: <code>{line_size=3, add_to_legend=false, selectable=true}</code></p>
<h3 class="subsectionBar">
<a name="struct:curve_options" id="struct:curve_options"></a>curve_options</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                Description
                                            </td>
<td class="apiTableRightDescr">Extra options for the curve creation function <a href="#addCurve">simUI.addCurve</a>.<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Fields</td>
<td class="apiTableRightLParam">
<div>
<strong>scatter_shape</strong> (int, default: sim_ui_curve_scatter_shape_disc): scatter shape. see <a href="#enum:curve_scatter_shape">simUI.curve_scatter_shape</a>.</div>
<div>
<strong>scatter_size</strong> (int, default: 10): size of the scatter shape</div>
<div>
<strong>line_size</strong> (int, default: 2): size of the line</div>
<div>
<strong>line_style</strong> (int, default: sim_ui_line_style_solid): style of the pen used to draw the line. see <a href="#enum:line_style">simUI.line_style</a>.</div>
<div>
<strong>add_to_legend</strong> (bool, default: true): if false, the curve will not be added to the legend</div>
<div>
<strong>selectable</strong> (bool, default: true): if false, the curve points cannot be selected and will not react to click events</div>
<div>
<strong>track</strong> (bool, default: false): if true, enable the mouse tracker</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"> <a href="#enum:curve_scatter_shape">simUI.curve_scatter_shape</a> <a href="#addCurve">simUI.addCurve</a> <a href="#addCurveTimePoints">simUI.addCurveTimePoints</a> <a href="#addCurveXYPoints">simUI.addCurveXYPoints</a> <a href="#clearCurve">simUI.clearCurve</a> <a href="#getCurveData">simUI.getCurveData</a> <a href="#growPlotRanges">simUI.growPlotRanges</a> <a href="#growPlotXRange">simUI.growPlotXRange</a> <a href="#growPlotYRange">simUI.growPlotYRange</a> <a href="#removeCurve">simUI.removeCurve</a> <a href="#replot">simUI.replot</a> <a href="#rescaleAxes">simUI.rescaleAxes</a> <a href="#rescaleAxesAll">simUI.rescaleAxesAll</a> <a href="#setLegendVisibility">simUI.setLegendVisibility</a> <a href="#setMouseOptions">simUI.setMouseOptions</a> <a href="#setPlotLabels">simUI.setPlotLabels</a> <a href="#setPlotRanges">simUI.setPlotRanges</a> <a href="#setPlotXLabel">simUI.setPlotXLabel</a> <a href="#setPlotXRange">simUI.setPlotXRange</a> <a href="#setPlotYLabel">simUI.setPlotYLabel</a> <a href="#setPlotYRange">simUI.setPlotYRange</a> <a href="#getWidgetVisibility">simUI.getWidgetVisibility</a> <a href="#setEnabled">simUI.setEnabled</a> <a href="#setStyleSheet">simUI.setStyleSheet</a> <a href="#setWidgetVisibility">simUI.setWidgetVisibility</a>
</td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="struct:keyboard_modifiers" id="struct:keyboard_modifiers"></a>keyboard_modifiers</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                Description
                                            </td>
<td class="apiTableRightDescr"><br></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Fields</td>
<td class="apiTableRightLParam">
<div>
<strong>control</strong> (bool, default: false): </div>
<div>
<strong>shift</strong> (bool, default: false): </div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                See also
                                            </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br>
</td></tr>
<tr><td id="scriptFunctions" class="section">
<br><br><h1>Script functions</h1>
<p>Script functions are used to call some lua code from the plugin side (tipically used for event handlers).</p>
<h3 class="subsectionBar">
<a name="scriptfun:onclickCallback" id="scriptfun:onclickCallback"></a>onclickCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for button click event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onclickCallback(string handle, int id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the clicked button</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onLinkActivatedCallback" id="scriptfun:onLinkActivatedCallback"></a>onLinkActivatedCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for when a link is clicked.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onLinkActivatedCallback(string handle, int id, string link)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the clicked button</div>
<div>
<strong>link</strong> (string): the href attribute of the activated link</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onchangeIntCallback" id="scriptfun:onchangeIntCallback"></a>onchangeIntCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for widget change event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onchangeIntCallback(string handle, int id, int value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>value</strong> (int): the new value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onchangeDoubleCallback" id="scriptfun:onchangeDoubleCallback"></a>onchangeDoubleCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for widget change event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onchangeDoubleCallback(string handle, int id, float value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>value</strong> (float): the new value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onchangeStringCallback" id="scriptfun:onchangeStringCallback"></a>onchangeStringCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for widget change event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onchangeStringCallback(string handle, int id, string value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>value</strong> (string): the new value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:oneditingfinishedCallback" id="scriptfun:oneditingfinishedCallback"></a>oneditingfinishedCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for editing finished event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.oneditingfinishedCallback(string handle, int id, string value)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): ui handle</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>value</strong> (string): the new value</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:oncloseCallback" id="scriptfun:oncloseCallback"></a>oncloseCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for window close event. It will be called when the user clicks the close button of the window. When an onclose callback is specified, the window will not close automatically when the user clicks the window close button.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.oncloseCallback(string handle)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam"><div>
<strong>handle</strong> (string): the handle of the UI</div></td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onPlottableClickCallback" id="scriptfun:onPlottableClickCallback"></a>onPlottableClickCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for plot widget plottableClick event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onPlottableClickCallback(string handle, int id, string curve, int index, float x, float y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the plot widget</div>
<div>
<strong>curve</strong> (string): the name of the curve</div>
<div>
<strong>index</strong> (int): the index of the clicked point in the curve</div>
<div>
<strong>x</strong> (float): the x value of the clicked point</div>
<div>
<strong>y</strong> (float): the y value of the clicked point</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onLegendClickCallback" id="scriptfun:onLegendClickCallback"></a>onLegendClickCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for plot widget legendClick event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onLegendClickCallback(string handle, int id, string curve)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the plot widget</div>
<div>
<strong>curve</strong> (string): the name of the curve</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onCellActivateCallback" id="scriptfun:onCellActivateCallback"></a>onCellActivateCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for table widget cellActivated event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onCellActivateCallback(string handle, int id, int row, int column, string cellValue)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the plot widget</div>
<div>
<strong>row</strong> (int): the row index (zero based) of the activated cell</div>
<div>
<strong>column</strong> (int): the column index (zero based) of the activated cell</div>
<div>
<strong>cellValue</strong> (string): the value of the cell</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onTableSelectionChangeCallback" id="scriptfun:onTableSelectionChangeCallback"></a>onTableSelectionChangeCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for table widget selectionChanged event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onTableSelectionChangeCallback(string handle, int id, int row, int column)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the plot widget</div>
<div>
<strong>row</strong> (int): the row index (zero based) of the activated cell</div>
<div>
<strong>column</strong> (int): the column index (zero based) of the activated cell</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onTreeSelectionChangeCallback" id="scriptfun:onTreeSelectionChangeCallback"></a>onTreeSelectionChangeCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for tree widget selectionChanged event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onTreeSelectionChangeCallback(string handle, int id, int item_id)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the plot widget</div>
<div>
<strong>item_id</strong> (int): the item id</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onMouseEventCallback" id="scriptfun:onMouseEventCallback"></a>onMouseEventCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback for a mouse event.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onMouseEventCallback(string handle, int id, int type, keyboard_modifiers mods, int x, int y)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>type</strong> (int): the mouse event type, one of the values from <a href="#enum:mouse">simUI.mouse</a>
</div>
<div>
<strong>mods</strong> (keyboard_modifiers): modifiers. see <a href="#struct:keyboard_modifiers">keyboard_modifiers</a>
</div>
<div>
<strong>x</strong> (int): x coordinate of mouse pointer</div>
<div>
<strong>y</strong> (int): y coordinate of mouse pointer</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onKeyPressCallback" id="scriptfun:onKeyPressCallback"></a>onKeyPressCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback called when a key is pressed in a widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onKeyPressCallback(string handle, int id, int key, string text)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>key</strong> (int): the integer value of the key</div>
<div>
<strong>text</strong> (string): a textual representation of the key</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br><h3 class="subsectionBar">
<a name="scriptfun:onScene3DObjectClickCallback" id="scriptfun:onScene3DObjectClickCallback"></a>onScene3DObjectClickCallback</h3>
<table class="apiTable">
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    Description
                                                </td>
<td class="apiTableRightDescr">Callback called when an object is clicked in a scene3d widget.</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLSyn">Lua synopsis</td>
<td class="apiTableRightLSyn">simUI.onScene3DObjectClickCallback(string handle, int id, int nodeId)<br>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLParam">Lua parameters</td>
<td class="apiTableRightLParam">
<div>
<strong>handle</strong> (string): the handle of the UI</div>
<div>
<strong>id</strong> (int): the ID of the widget</div>
<div>
<strong>nodeId</strong> (int): the ID of the object-picker</div>
</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftLRet">Lua return values</td>
<td class="apiTableRightLRet">-</td>
</tr>
<tr class="apiTableTr">
<td class="apiTableLeftDescr">
                                                    See also
                                                </td>
<td class="apiTableRightDescr"></td>
</tr>
</table>
<br>
</td></tr>
</table></div>
<script type="text/javascript">
//
view = getParameterByName('view')
document.getElementById('alphabetical').style.display = view == 'alphabetical' ? 'table-cell' : 'none'
document.getElementById('commands').style.display = view == null ? 'table-cell' : 'none'
document.getElementById('enums').style.display = view == null ? 'table-cell' : 'none'
document.getElementById('structs').style.display = view == null ? 'table-cell' : 'none'
document.getElementById('scriptFunctions').style.display = view == null ? 'table-cell' : 'none'
//
                </script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/highlight.min.js"></script><script type="text/javascript">
//
document.addEventListener('DOMContentLoaded', (event) => {
    document.querySelectorAll('code.hljs').forEach((block) => {
        hljs.highlightBlock(block);
    });
});
//
                </script>
</body>
</html>
